#ifndef _GLOBALS_H
#define _GLOBALS_H

//includes
#include <allegro.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>

#define MAX_VOLUME 255

      
//Globals
DATAFILE *game_sound;
DATAFILE *game_fonts;

volatile int game_timer;
volatile int process;

//These are the games defaults
int high_score_show;  

int game_quit;

int   temp_show_rects,
      temp_help,
      temp_map_number,
      temp_music_vol,
      temp_sound_vol,
      temp_game_mode,
      temp_game_difficulty,
      temp_player_lives,
      temp_enemy_count,
      temp_ball_count,
      temp_ball_time,
      temp_game_start,
      temp_free_life,
      temp_point_adder;

float enemy_velocity,
      enemy_shot_vel,
      ball_velocity,
      player_energy,
      player_attack,
      enemy_energy,
      enemy_attack;
      
float pausex,pausey,pause_wait,
      pause_speedx,pause_speedy;

int   show_rects,
      help,
      map_number,
      music_vol,
      sound_vol,
      game_mode,
      game_difficulty,
      player_lives,
      enemy_count,
      ball_count,
      ball_time,
      game_start,
      free_life,
      point_adder;
float temp_enemy_velocity,
      temp_enemy_shot_vel,
      temp_ball_velocity,
      temp_player_energy,
      temp_player_attack,
      temp_enemy_energy,
      temp_enemy_attack;

int show_enemy,show_enemy_time;
int keyhold[119];

#endif
